import 'package:flutter/material.dart';
import 'package:wan_android/pages/page_main.dart';

/// 仿写wanAndroid 客户端  计划时间:  两天
/// 关于 cookie 和params post
/// cookie 就是设置 headers 可以通过 Options(baserurl: url,heads:);设置
/// params 参数 需要自己拼接请求url中

void main() {
//  debugPaintSizeEnabled = true; //界面出现绘制
  runApp(new MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      title: 'wan android',
      theme: new ThemeData(
        primarySwatch: Colors.orange,
      ),
      home: MainPage(),
    );
  }
}
